236 friend class MotionVariablePropertyPage;
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:14
Class to manage 64-bit integer ranges.
Definition Range.h:52
EEvent
Event enumerate values used in broadcasting where global events have a negative value.
Definition ResultDataTypes.h:46
Class for creating and referencing global created data called result data. This class allows linking ...
Definition ResultData.h:20
Definition GmiServer.h:12
void EvaluateInterfaceResults()
Evaluate results after the configuration has changed.
unsigned GetAxisCount()
Gets the amount of axes for this implementation.
TResultDataLinkHandler< TMotionServer > SrvResLink
Definition GmiServer.h:199
ResultData * CreateResultData(gmi::ResultInfo &info, std::string setup)
Creates a variable with an extra info structure attached.
static void ParamNotifyProc(void *data, int id)
int VarHandlerEntryCount
Definition GmiServer.h:219
void EvaluateInterfaceParams()
Evaluate parameters after the configuration has changed.
void DestroyInterface()
Remove all parameters and results.
Variable VImplementation
Variable for selecting an implementation.
Definition GmiServer.h:189
void DestroyResultData(ResultData *var)
Destroys a variable including the attached extra info structure.
unsigned ResListFind(int id) const
Looks up a result data which is represented the interface id.
void ResultNotify(int id)
void CreateInterface()
Create interface parameters at construction once.
ExtraInfo * Cast(ResultData *var) const
Easy to use function to access the extra info from a result data.
void DestroyVariable(Variable *var)
Destroys a variable including the attached extra info structure.
TMotionServer(gmi::Controller *controller, int device_nr=-1, const char *dev_name=nullptr)
Constructor.
bool IsLocked() const
Returns true when all parameters are locked.
Definition GmiServer.h:39
~TMotionServer()
Destructor.
std::string GetNameOfs(const gmi::ResultInfo &info)
Returns the name of the channel using the device name.
bool CreateVariable(Variable *&var, gmi::ParamInfo &info, std::string setup)
Creates a variable with an extra info structure attached.
ExtraInfo * Cast(Variable *var) const
Easy to use function to access the extra info from a variable.
std::string CreateSetupString(const gmi::ParamInfo &info, long vid)
Creates a setup string from the passed parameter info structure.
void ServerVarHandler(Variable::EEvent event, const Variable &caller, Variable &linker, bool sameinst)
long FHandledParamId
Definition GmiServer.h:216
static unsigned ServerMap
Definition GmiServer.h:209
const Variable & GetVariable(int pid)
Gets the owner variable that corresponds the motion interfaces parameter id.
std::string CreateSetupString(const gmi::ResultInfo &info, long vid)
Creates a setup string from the passed result info structure.
const TVariable * VMoveVel
Definition GmiServer.h:223
std::string GetNameOfs(const gmi::ParamInfo &info)
Gets the name of the channel using the device name.
bool FLock
Definition GmiServer.h:214
void SetLocked(bool flag)
Locks the variables by making them all read only.
static void ResultNotifyProc(void *data, int id)
void ClearValidations()
Overloaded from InfoServer.
mstring DeviceName
Definition GmiServer.h:211
void ServerResHandler(ResultData::EEvent event, const ResultData &caller, ResultData &link, const Range &rng, bool same_inst)
TVariable::TPtrVector VarList
Definition GmiServer.h:196
void AddPropertyPages(PropertySheetDialog *sheet)
Add the property sheets for this server to the given dialog.
unsigned VarListFind(int id) const
Looks up a parameter which is represented the interface by the given id.
gmi::Controller * Controller
Holds the acquisition implementation.
Definition GmiServer.h:185
const TVariable * VMovePos
Definition GmiServer.h:221
std::string GetAxisName(int axis)
Gets the axis name of the given axis.
TResultData::TPtrVector ResList
Definition GmiServer.h:203
int DeviceNr
Definition GmiServer.h:207
VariableLinkHandler< TMotionServer > SrvVarLink
Definition GmiServer.h:192
EEvent
Events send to the handler set with sf::Variable::setHandler.
Definition VariableTypes.h:130
Class for creating and referencing global or local created parameters or settings called variables....
Definition Variable.h:16
Pure virtual class for implementation of motion controllers.
Definition Controller.h:13
#define _GMI_CLASS
Definition gmi/iface/global.h:35
Definition Application.h:10
Structure to hold parameter information.
Definition GmiInterface.h:107
Structure to hold parameter information.
Definition GmiInterface.h:171