cvtdriver
Driver for SmartFarm Device Converter
Public 멤버 함수
stdcvt::CvtRawCommand 클래스 참조
stdcvt::CvtRawCommand에 대한 상속 다이어그램 :
stdcvt::CvtCommand

Public 멤버 함수

 CvtRawCommand (int cmdid, CvtDeviceSpec *pdevspec, bool onoff, int modelcode, string devid, string arg)
 
int getmodelcode ()
 
string getdevid ()
 
string getarg ()
 
- stdcvt::CvtCommand(으)로부터 상속된 Public 멤버 함수
 CvtCommand (int cmdid, CvtDeviceSpec *pdevspec, bool onoff)
 
int getid ()
 
int setid (int id)
 
CvtDeviceSpecgetdevspec ()
 
bool getonoff ()
 
bool setonoff (bool onoff)
 

생성자 & 소멸자 문서화

stdcvt::CvtRawCommand::CvtRawCommand ( int  cmdid,
CvtDeviceSpec pdevspec,
bool  onoff,
int  modelcode,
string  devid,
string  arg 
)
inline

새로운 명령를 생성한다.

매개변수
cmdid명령의 아이디
pdevspec명령을 수행할 장비스펙의 포인터
onoff작동상태
modelcode명령의 인자를 해석할 수 있는 드라이버의 모델코드
devid명령을 수행할 장비의 아이디
arg명령의 인자. 문자열 형으로 꼭 base64 인코딩 되어 있어야 함.

멤버 함수 문서화

string stdcvt::CvtRawCommand::getarg ( )
inline

명령 수행을 위한 인자를 확인한다.

반환값
명령 인자값
string stdcvt::CvtRawCommand::getdevid ( )
inline

명령을 수행할 장비의 아이디를 확인한다.

반환값
장비아이디값
int stdcvt::CvtRawCommand::getmodelcode ( )
inline

명령에 할당된 모델코드를 확인한다.

반환값
모델코드값

이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: