Find Jobs
Hire Freelancers

Very simple C++ tree data structure for use with Arduino

$30-250 USD

已完成
已发布超过 7 年前

$30-250 USD

货到付款
I need a very simple tree data structure that will compile in Arduino IDE. The tree will hold a menu structure that will contain a LIMITED maximum number of items (nodes). I need properties and methods that will allow me to know the currently focused node and list the nodes in each branch. Each node needs to have an assignable method that will be activated when needed. If you are not familiar with Arduino IDE, you can take a look at the attached source code ([login to view URL]) which works well in Arduino, it just does not suit my purposes very well. But I like it is object oriented, so I wish it would be based on a similar style of coding. I need an object for the tree (MenuTree) and objects for the menu items (MenuNode). MenuTree should have the following methods and properties: RootNode - MenuNode that is a parent of all the child nodes (created by default) FocusedNode - MenuNode holding a pointer to the currently selected node UpdatingInProgress - set to true before adding major number of nodes AddChildNode(MenuNode, ParentNode) - adds a node to the tree, if ParentNode is null, add RootNode instead GetNextFocusableNode(MenuNode) - returns the next node (down the branch) that can be focused (based on CanFocus property of the MenuNode), null if this is the last node that can be focused GetPreviousFocusableNode(MenuNode) - returns the previous node (up the branch) that can be focused (based on CanFocus property of the MenuNode), null if this is the last node that can be focused Password - byte PasswordEntered - boolean PasswordTimeout - time in seconds when the password expires, default 1800 seconds PasswordExpired - event that fires when the password expires, also sets PasswordEntered to false MenuRedraw - event that fires when some of the properties of the MenuNode change, unless UpdatingInProgress is true ForceRedraw - method that fires MenuRedraw MenuNode should have the following methods and properties: ChildCount - number of direct child nodes of this node, read-only FirstChild - pointer to the first child node, read-only NextSibling - pointer to the next sibling node (down the branch); returns null if the node is last node in the branch, read-only PreviousSibling - pointer to the previous sibling node (up the branch); returns null if the node is first node in the branch, read-only ParentNode - pointer to the parent node, read-only MenuText - string to hold the menu text; if modified, fires MenuRedraw, unless UpdatingInProgress is true CanFocus - boolean PasswordProtected - boolean AllowValueEditMode - boolean ValueEditModeActive - boolean Value - byte Level - byte - stores the level number of the node, read-only Index - byte - stores the position of the node within the branch, read-only IsFocused - boolean, true if FocusedNode is this node ActiveMethod - assignable method that will be activated when needed An examples demonstrating the listing of the nodes in a branch and events firing must be provided.
项目 ID: 11436390

关于此项目

4提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi, i'm software engineer. I've experience with c,c++ programming and i'm very good data structure designer and coder. I have worked with arduino on a robotics project and some other projects. That included tree (AI type stuff). If interested message me for details. Regards Usman Shery
$55 USD 在1天之内
4.9 (72条评论)
5.3
5.3
4威客以平均价$133 USD来参与此工作竞价
用户头像
Hi. i have a lot of experience in C++ programming. I can help you with this task. we can have a chat. thanks
$235 USD 在3天之内
4.9 (359条评论)
7.3
7.3
用户头像
I would like to bid this job because I am really suitable for job description: First: I am an software engineer who is very expertise with C/C++. In fact, I have done so many project of C/C++(Karatsuba multiplier, Nintendo design, encryption algorithm like Sax Hash, Bernstein Hash, HummingBird...Also, I participated in a Walker Recognition project(data from Camera to Human Detection(image processing-HOG feature and Adaboost) and display in VGA). Besides,,I implemented the image conpression (wavelet transform). Also, I am very good in English (IELTS 6.0) and I have several year of researching so I can fully understand your requirement and understand fully about the papers and write the academic report.. Please contact me and let me know if you want any special requirement and do with lower price. Thank you.
$100 USD 在3天之内
4.9 (17条评论)
5.0
5.0

关于客户

SLOVAKIA的国旗
Banská Bystrica, Slovakia
4.9
50
付款方式已验证
会员自8月 26, 2007起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。